#ifndef FILE_TEST_H
#define FILE_TEST_H

#include "File.h"

// name of the binary file system
#define FILE_SYSTEM "disk1"

/* This class provides a means to access the File class functionality.
 * It initializes the Disk, FreeList, and Directory and then calls the
 * File::InitClass. Once you call the FileTest constructor, you don't use
 * the FileTest class again (until the destructor is called). Just go ahead
 * and use the File class methods and all will be OK.
 */
class FileTest {
public:
    // Call this constructor before doing any file test operations
    FileTest();

    ~FileTest();

    // Make this public just to give an easy way to access
    // the directory to do directory operations.
    Directory *dir; 

private:
    Disk *disk1;
    FreeList *mother;
};

#endif 


